<template>
  <el-card>
    <h2>欢迎回来，{{ userStore.userInfo?.name || '访客' }}！</h2>
    <p>这是你的控制台首页</p>
  </el-card>
</template>

<script setup>
import { useUserStore } from '@/stores/user'

const userStore = useUserStore()
</script>
